export default [
  {
    path: "/",
    redirect: "main/home",
  },
  {
    path: "/main",
    name: "main",
    component: () => import("@/views/main/main.vue"),
    children: [
      {
        path: "/main/home",
        component: () => import("@/views/home/home.vue"),
      },
      {
        path: "/main/CertificateQuery",
        component: () =>
          import("@/views/CertificateQuery/CertificateQuery.vue"),
      },
      {
        path: "/main/NewsList",
        component: () => import("@/views/newsList/newsList.vue"),
      },
      {
        path: "/main/newItem",
        component: () => import("@/views/newItem/newItem.vue"),
      },
      {
        path: "/main/Contactus",
        component: () => import("@/views/Contactus/ContactUs.vue"),
      },
      {
        path: "/main/announcement",
        component: () => import("@/views/announcement/announcement.vue"),
      },
      {
        path: "/main/vipunit",
        component: () => import("@/views/vipunit/vipunit.vue"),
      },
      {
        path: "/main/aboutassociation",
        component: () =>
          import("@/views/aboutassociation/aboutassociation.vue"),
      },
      {
        path: "/main/vipunitdetailed",
        component: () => import("@/views/vipunitdetailed/vipunitdetailed.vue"),
      },
      {
        path: "/main/activityreview",
        component: () => import("@/views/activityreview/activityreview.vue"),
      },
      {
        path: "/main/activitydetail",
        component: () => import("@/views/activitydetail/activitydetail.vue"),
      },
    ],
  },
  {
    path: "/:pathMatch(.*)*",
    name: "NotFound",
    component: () => import("@/views/notFound/notFound.vue"),
  },
];
